package test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *@ClassName Main
 *@Description  TODO
 *@Author Kx
 *@Date 2025/4/28 11:37
 *@Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        // 扫描配置文件获取容器对象
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
        // 关闭容器
        context.close();
    }
}
